package com.ruoyi.report.service;

import java.util.List;

import com.ruoyi.report.domain.CommunityReporting;

/**
 * 档案Service接口
 *
 * @author mac
 * @date 2023-02-11
 */
public interface ICommunityReportingService {
    /**
     * 查询档案
     *
     * @param id 档案主键
     * @return 档案
     */
    public CommunityReporting selectCommunityReportingById(Long id);

    /**
     * 查询档案列表
     *
     * @param communityReporting 档案
     * @return 档案集合
     */
    public List<CommunityReporting> selectCommunityReportingList(CommunityReporting communityReporting);

    /**
     * 新增档案
     *
     * @param communityReporting 档案
     * @return 结果
     */
    public int insertCommunityReporting(CommunityReporting communityReporting);

    /**
     * 修改档案
     *
     * @param communityReporting 档案
     * @return 结果
     */
    public int updateCommunityReporting(CommunityReporting communityReporting);

    /**
     * 批量删除档案
     *
     * @param ids 需要删除的档案主键集合
     * @return 结果
     */
    public int deleteCommunityReportingByIds(Long[] ids);

    /**
     * 删除档案信息
     *
     * @param id 档案主键
     * @return 结果
     */
    public int deleteCommunityReportingById(Long id);

    CommunityReporting selectCommunityReportingByNameAndMemo(String name, String memo);
}
